package aop;

import java.lang.reflect.Method;

import org.springframework.aop.AfterReturningAdvice;

public class LogAfterReturningAdvice implements AfterReturningAdvice{

	public void afterReturning(Object resultValue, Method method, Object[] args,
			Object target) throws Throwable {
		
		MyLogger logger = new MyLogger();
		
		logger.log("Method:" + method.getName() + " end.    result="+resultValue);
		
	}

}
